package com.cvte.shop;

import com.cvte.csb.cache.annotation.EnableCSBEhcacheCache;
import com.cvte.csb.cache.annotation.EnableCSBGuavaCache;
import com.cvte.csb.core.annotation.EnableCSB;
import com.cvte.csb.jdbc.mybatis.annotation.EnableCSBMybatis;
import com.cvte.csb.job.core.EnableCSBJob;
import com.cvte.csb.web.annotation.EnableCSBWeb;
import org.springframework.boot.SpringApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author DaiShubo
 * @version 1.0
 * @description 启动类
 * @createTime 2020/7/27 3:08 下午
 * @since 1.7
 **/
@EnableCSB
@EnableCSBWeb
@EnableCSBMybatis
//@EnableCSBJob
//@EnableCSBGuavaCache
@EnableCSBEhcacheCache
@ComponentScan(basePackages = {"com.cvte.shop"})
public class Bootstrap {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(Bootstrap.class);
        app.run(args);
    }
}

